<?php


$testxml  = file_get_contents("php://input");
$jsonxml = json_encode(simplexml_load_string($testxml, 'SimpleXMLElement', LIBXML_NOCDATA));

$fp = fopen("../cache/file/abc1.php", "a+");
fwrite($fp, $jsonxml);
fclose($fp);